<%= form_tag({ :controller => "/account", :action => "login" },
          :id => 'login_form', :style => "margin: 0px; padding: 0.7em 0px 1em 0px;" )
 %>
<div id="leftnav">
    <%= link_to "Всесибирская олимпиада", :controller => '/contest', :contest_name => 'pottosin' %> |
    <%= link_to "Imagine Cup", :controller => '/contest', :contest_name => 'imaginecup' %> |
    <%= link_to "Страничка жюри", :controller => 'jury' %>
    <!-- <br>
    <a style="" href="#">Участники</a> | Задачи | <b>Решения</b> -->
</div>
<div style="text-align: right; margin: 0px 2em 0px 0px;">
<% unless flash[:login_failure].nil? %>
<span id="pwd_error" class="warning"><%= flash[:login_failure] == true ? "Неверный пароль" : flash[:login_failure] %></span>&nbsp;&nbsp;
<%=
	update_page_tag do |page|
		page.delay 1 do
		  page.hide 'pwd_error'
		end
	end
%>
<% end %>
<input type="password" name="password" size="20">
<input type="submit" value="Войти">
</div>
<%= end_form_tag %>
